public class PeteShopTest {

    public static void main(String[] args) {

        Dog dog=new Dog();

        Rabbit rabbit=new Rabbit();

        PetShop shop=new PetShop();
        shop.savePet(dog);
        shop.savePet(rabbit);

    }
}
